package com.macw.ww_system.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 消息
 * </p>
 *
 * @author Macw
 * @since 2020-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CmsSiteMsg对象", description="消息")
public class CmsSiteMsg implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "发送者ID")
    private String fromId;

    @ApiModelProperty(value = "发送者名称")
    private String fromName;

    @ApiModelProperty(value = "接受者ID")
    private String toId;

    @ApiModelProperty(value = "接受者名称")
    private String toName;

    @ApiModelProperty(value = "消息类别")
    private String msgType;

    @ApiModelProperty(value = "消息内容")
    private String content;

    @ApiModelProperty(value = "消息时间")
    private LocalDateTime createTime;


}
